<template>
	<view class="page">
		<view class="header">
			<view class="title_box">
				<view class="header_left"></view>
				<view class="title">我的</view>
				<view class="icon_r" @click="toWhere('set')">
					<image class="msg" src="/static/icon/set.png" mode="scaleToFill" />
				</view>
			</view>
		</view>
		<view class="head">
			<image src="/static/icon/head.png" mode="scaleToFill" class="headImg" />
			<view class="head_right">
				<text class="phoneNumber">189****6619</text>
				<view class="auto">
					<text>实名认证提额</text>
					<u-icon name="arrow-right-double" color="#2979ff" size="24">&nbsp;&nbsp;&nbsp;</u-icon>
				</view>
			</view>
		</view>
		<view class="list" style="margin-top: 60rpx" @click="toWhere('service')">
			<image src="/static/icon/lianxikefu.png" mode="scaleToFill" class="list_img" style="height: 56rpx; width: 56rpx" />
			<view>联系客服</view>
		</view>
		<view class="list" @click="toWhere('deal')">
			<image src="/static/icon/xieyi.png" mode="scaleToFill" class="list_img" />
			<view>协议列表</view>
		</view>
		<view class="list" @click="toWhere('about')">
			<image src="/static/icon/women.png" mode="scaleToFill" class="list_img" />
			<view>关于我们</view>
		</view>
		<view class="list" @click="toWhere('update')">
			<image src="/static/icon/gengxin.png" mode="scaleToFill" class="list_img" />
			<view>检查更新</view>
		</view>
	</view>
</template>

<script>
export default {
	components: {},
	data() {
		return {}
	},
	computed: {},
	watch: {},
	onLoad() {},
	onShow() {},
	onReady() {},
	// 方法集合
	methods: {
		toWhere(url) {
			uni.navigateTo({
				url: `/pages/my/${url}`
			})
		}
	},
	onHide() {},
	onUnload() {}
}
</script>

<style lang="scss" scoped>
uni-page-head .uni-page-head__title {
	font-weight: bold;
}
.page {
	height: 100vw;
}
.header {
	position: relative;
	top: 0;
	left: 0;
	width: 100%;
	padding-top: var(--status-bar-height);
	z-index: 10;
	background-color: #3478f2;
	color: rgba(255, 255, 255, 0.8);
	.title_box {
		height: 44px;
		padding: 0 32rpx;
		display: flex;
		justify-content: space-between;
		align-items: center;
		.header_left {
			width: 32rpx;
		}
		.title {
			font-size: 40rpx;
			font-family: PingFang SC;
			font-weight: bold;
			color: #ffffff;
		}
		.icon_r {
			width: 32rpx;
			height: 32rpx;
			.msg {
				width: 100%;
				height: 100%;
			}
		}
	}
}
.head {
	display: flex;
	padding: 22rpx 0rpx 46rpx 56rpx;
	background-color: #3478f2;
	.headImg {
		width: 104rpx;
		height: 104rpx;
		margin-right: 22rpx;
	}
	.head_right {
		.phoneNumber {
			display: block;
			line-height: 40rpx;
			font-size: 28rpx;
			margin-bottom: 6rpx;
			margin-top: 4rpx;
			color: #ffffff;
			text-align: center;
		}
		.auto {
			height: 52rpx;
			width: 236rpx;
			background: #e4eeff;
			border: 1rpx solid #0780fe;
			border-radius: 32rpx;
			font-size: 24rpx;
			font-family: PingFang SC;
			font-weight: bold;
			color: #3478f2;
			display: flex;
			justify-content: space-between;
			align-items: center;
			padding-left: 28rpx;
			padding-right: 24rpx;
		}
	}
}
.list {
	width: 100vw;
	height: 84rpx;
	background-color: #ffffff;
	padding: 14rpx 0 16rpx 32rpx;
	display: flex;
	align-items: center;
	margin-bottom: 40rpx;
	.list_img {
		width: 55rpx;
		height: 55rpx;
	}
	view {
		margin-left: 14rpx;
	}
}
</style>
